# a = 15
# b = 12345678.1234467
# s = "I love python"
# print('a = %05d'% a)
# print('b = %8.3f'% b)
# print('%17s'% s)
# print('%-17.6s'% s)



# name = "谢新恩"
# age = 20
# sex = '男'
# temp = "我叫{2}，我今年{0}岁，我的性别是{1}"
# temp_01="我叫{}，我今年{}岁，我的性别是{}"
# print(temp.format(name,age,sex))
# print(temp_01.format(name,age,sex))


# str_1 = "abc def abc ghi"
# str_2 = str_1.replace("abc","123",1)
# print(str_2)


# str5 ="hello world"
# print(str5.split())
# str6 = "apple,banana,cherry"
# fruits = str6.split(",")
# fruits_01 = str6.split("-")
# print(fruits)
# print(fruits_01)
# str6 = "apple,banana,cherry"
# fruits = str6.split(",",1)
# print(fruits)
